package com.play.map.repository.impl;

import com.play.common.dto.map.UserMap;
import com.play.common.enums.MapTypeEnums;
import com.play.map.repository.MapRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author: ChenYunChou
 * @time: 2021/10/17 2021
 */
@Repository
public class UserMapRepository implements MapRepository<UserMap> {



    public MapTypeEnums getType() {
        return MapTypeEnums.USER;
    }

    public List<UserMap> queryNearByDistance(int number, String company) {
        return null;
    }

    public int saveMap(UserMap save) {
        return 0;
    }
}
